print('''
    H
    O
    L
    A

    M
    U
    N
    D
    O
''')
